﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebApi.Core.Model;
using WebApi.Core.Model.ResponseModels;

namespace WebApi.Core.IService
{
    public interface IAuthService
    { 
        Task<LoginResult> LoginAsync(Users user);
        Task<LoginResult> RefreshTokenAsync(string accessToken, string refreshToken);
        Task<long> RegisterAsync(Users user);
    }
}
